package com.cfpl.admin_service.mapper;

import com.cfpl.project_common.pojo.Vegetable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 14720
* @description 针对表【vegetable(果蔬表)】的数据库操作Mapper
* @createDate 2023-10-10 11:09:53
* @Entity com.cfpl.project_common.pojo.Vegetable
*/
@Mapper
public interface VegetableMapper extends BaseMapper<Vegetable> {

    /**
     * 根据肥料ID查询 当前种植果蔬信息
     * @param furId 肥料使用ID
     * @return
     */
    Vegetable queryVegetableByFertilizerUseId(@Param("furId") Long furId);
    /**
     * 根据肥料ID查询 当前种植果蔬信息
     * @param purId 肥料使用ID
     * @return
     */
    Vegetable queryVegetableByPesticideUseId(@Param("purId") Long purId);

}




